package com.xy.mvvmdemo.fragment

import com.xy.baselibrary.base.BaseFragment
import com.xy.mvvmdemo.R
import kotlinx.android.synthetic.main.one_fragment.*

/**
 * @ClassName OneFragment
 * @Author xy
 * @Date 2021/7/15 10:47
 * @Description TODO
 */
class TwoFragment: BaseFragment() {
    override fun setLayout(): Int {
        return R.layout.one_fragment
    }

    override fun loadData() {
        text.text = "FragmentTwo"
    }

    override fun stopLoadData() {
        super.stopLoadData()
    }

    //    override fun initData(view: View, savedInstanceState: Bundle?) {
//        text.text = "FragmentTwo"
//    }
//
//
//    override fun setLayoutRes(): Int {
//       return R.layout.one_fragment
//    }
//
//    override fun startFragment() {
//
//    }
//
//    override fun stopFragment() {
//
//    }

}